﻿package com.ufenlei.LTS{
	import flash.display.Sprite;
	import flash.display.MovieClip;
	import flash.events.Event;
	import flash.events.MouseEvent;
	
	public class TestingRadioGroup extends RadioGroup{
		protected var _keyList:Array=new Array();
		public function TestingRadioGroup(){
			super();
		}
		override public function addRadio(rLabel:String,rIdx:int):void{
			this._bottom = _radioList.length* 35 + 5;
			var op:TestingRadio = new TestingRadio(rLabel,_radioList.length);
			op.addEventListener(Input.SELECTED, onRadioSelected);
			_radioList.push(op);
			_keyList.push(rIdx);
			op.y = this._bottom;
			this.addChild(op);
		}
		public function get answer():uint{
			return _keyList[_checkdIndex];
		}
	}
}